@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
	<form id="menuForm">
		<div class="form-horizontal" id="menuInfoForm">
		
			<input type="hidden" id="id" name="id" value="">
            <input type="hidden" id="type" name="type" value="add">
			<div class="row">
				<div class="col-sm-6 b-r">
				
				    <#input id="pName" name="父级菜单" underline="true"
							hidden="parentId" readonly="readonly"
							clickFun="MenuInfoDlg.showMenuSelectTree(); return false;"
							style="background-color: #ffffff !important;"
							selectFlag="true" selectId="pcodeTreeDiv" selectTreeId="pcodeTree" selectStyle="width:244px !important;"/>
					
					<#input id="name" name="菜单名称" underline="true" />
					
					<#select id="useable" name="是否显示" underline="true" >
						<option value="1">显示</option>
						<option value="0">隐藏</option>
					</#select>
					
					<#input id="permission" name="权限标识" underline="false" />
					
				</div>
				<div class="col-sm-6">
					<#input id="href" name="请求地址" underline="true" />
					<#input id="sort" name="排序" underline="true" />

					<#iconselect id="icon" placeholder="点击选择图标" name="图标"/>
					<#input id="remarks" name="备注" underline="false" />
				</div>
			</div>

			<div class="row btn-group-m-t">
				<div class="col-sm-10">
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="MenuInfoDlg.addSubmit()"/>
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="MenuInfoDlg.close()"/>
				</div>
			</div>
		</div>
      </form>
	</div>
</div>
<script src="/modular/system/menu/menu_info.js"></script>
@}
